package com.ethink.order.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.ethink.order.api.info.JkyTradeLogDetailInfo;
import com.ethink.order.common.entity.JkyTradeLogDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 吉客云销售单明细 Mapper接口
 *
 * @author default
 * @date 2022-11-25
 */
@Mapper
public interface JkyTradeLogDetailMapper extends BaseMapper<JkyTradeLogDetail> {


    /**
     * 详情
     *
     * @param id
     * @return
     */
    JkyTradeLogDetailInfo getJkyTradeLogDetailById(@Param("id") Long id);

    /**
     *
     *
     * @param logId
     * @return
     */
    List<JkyTradeLogDetailInfo> queryJkyTradeLogDetailByLogId(@Param("logId") Long logId);

}